// app.js
App({
  onLaunch() {
    // 展示本地存储能力
    //const logs = wx.getStorageSync('logs') || []
    //logs.unshift(Date.now())
    //wx.setStorageSync('logs', logs)
    
    //判断用户信息是否为空
      //用wx.redirectTo来做跳转页面不允许返回上一页
      wx.reLaunch({
        url: './pages/login/login',
      })
  },
  globalData: {
    userInfo: {
      MemberID:'',
      MemberRealName:'',
      MemberGender:'',
      MemberGroupID:'',
      Type:0,
      Token:''
    }
  }
})
